const express = require('express')
const app = express()
app.use(express.static(__dirname))


app.get('/a', function(req, res){
    let id = req.query.id
    setTimeout(()=>{
        res.setHeader("Access-Control-Allow-Origin", "*")
        res.json({code:200, message: "成功接收到" + id})
    }, id * 1000)
})
app.listen(91)